<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body {
            background: #000;
        }

        .box {
            width: 600px;
            height: 600px;
            border: 1px solid red;
            position: relative;
        }

        .sun {
            width: 100px;
            height: 100px;
            background: orangered;
            position: absolute;
            top: 50%;
            left: 50%;
            margin-top: -50px;
            margin-left: -50px;
            border-radius: 50%;
        }

        .b1 {
            width: 200px;
            height: 200px;
            border: 1px solid #ccc;
            position: absolute;
            top: 50%;
            left: 50%;
            margin-top: -100px;
            margin-left: -100px;
            border-radius: 50%;
            /* transition: 2s; */
            animation: 2s move infinite linear;
        }

        @keyframes move {
            100% {
                transform: rotate(720deg);
            }
        }

        .b1-0 {
            position: absolute;
            width: 50px;
            height: 50px;
            background: blue;
            top: 10px;
            left: 6px;
            border-radius: 50%;
        }

        .b2 {
            width: 300px;
            height: 300px;
            border: 1px solid #ccc;
            position: absolute;
            top: 50%;
            left: 50%;
            margin-top: -150px;
            margin-left: -150px;
            border-radius: 50%;
            /* transition: 1s; */
            animation: 5s move infinite linear;
        }

        .b2-0 {
            position: absolute;
            width: 50px;
            height: 50px;
            background: green;
            top: 17px;
            left: 17px;
            border-radius: 50%;
        }
    </style>
</head>

<body>
    <div class="box">
        <div class="sun"></div>
        <div class="b1">
            <div class="b1-0"></div>
        </div>
        <div class="b2">
            <div class="b2-0"></div>
        </div>

    </div>
</body>

</html>